package com.logic.modular.game.season.server.service;

import com.logic.modular.game.season.server.domain.PlayerSeason;

import javax.validation.constraints.NotNull;

public interface PlayerSeasonService {
    /**
     * 获取玩家赛季信息
     */
    PlayerSeason obtain(Long playerId);

    /**
     * 领取奖励
     */
    void claimLevelRewards(Long playerId, Integer leve, Integer lv, @NotNull Long bagItemId);

    /**
     * 购买等级
     * @param playerId
     * @param leve
     * @return
     */
    boolean purchaseLevel(Long playerId, Integer leve);
}
